/**
 * 
 */
package com.cea.papyrus.core;

import org.eclipse.gef.commands.CommandStack;
import org.eclipse.gef.ui.actions.ActionRegistry;

import com.cea.papyrus.core.editor.ModelManager;
import com.cea.papyrus.multidiagram.extension.MultiDiagramSharedObjects;

/**
 * @author dumoulin
 *
 */
public class PapyrusMultiDiagramSharedObjects extends MultiDiagramSharedObjects {

//	private Diagram diagram;
	private ModelManager modelMngr;
	private CommandStack commandStack;
	private ActionRegistry actionRegistry;
	
	/**
	 * Constructor.
	 * @param diagram
	 * @param modelMngr
	 * @param commandStack
	 * @param actionRegistry
	 */
	public PapyrusMultiDiagramSharedObjects(
			ModelManager modelMngr, CommandStack commandStack,
			ActionRegistry actionRegistry) {
//		this.diagram = diagram;
		this.modelMngr = modelMngr;
		this.commandStack = commandStack;
		this.actionRegistry = actionRegistry;
	}

//	/**
//	 * @return the diagram
//	 */
//	protected Diagram getDiagram() {
//		return diagram;
//	}

	/**
	 * @return the modelMngr
	 */
	public ModelManager getModelMngr() {
		return modelMngr;
	}

	/**
	 * @return the commandStack
	 */
	public CommandStack getCommandStack() {
		return commandStack;
	}

	/**
	 * @return the actionRegistry
	 */
	public ActionRegistry getActionRegistry() {
		return actionRegistry;
	}
	
	
}
